package com.tingyuge.base.design.brige;
/**
 * @Created by xiaodao
 */
public interface Computer {

    void sale();
}


class Desktop implements Computer{

    public void sale() {
        System.out.println("销售台式机");
    }
}

class Laptop implements Computer{


    public void sale() {
        System.out.println("销售笔记本");
    }
}


class Pad implements Computer{


    public void sale() {
        System.out.println("销售平板");
    }
}

class LenovoDesktop extends Desktop{
    @Override
    public void sale() {
        System.out.println("销售联想台式机");
    }
}

class LenovoLaptop extends Laptop{
    @Override
    public void sale() {
        System.out.println("销售联想笔记本");
    }
}

class LenovoPad extends Pad{
    @Override
    public void sale() {
        System.out.println("销售联想pad");
    }
}

class ShenzhouDesktop extends Desktop{
    @Override
    public void sale() {
        System.out.println("销售Shenzhou台式机");
    }
}

class ShenzhouLaptop extends Laptop{
    @Override
    public void sale() {
        System.out.println("销售Shenzhou笔记本");
    }
}

class ShenzhouPad extends Pad{
    @Override
    public void sale() {
        System.out.println("销售Shenzhou  pad");
    }
}